# Read from the file words.txt and output the word frequency list to stdout.
awk -F' ' '{for(i=1;i<=NF;i=i+1){print $i}}' words.txt | sort | uniq -c | sort -r -k 1 | awk -F' ' '{printf("%s %s\n",$2,$1)}'

